package com.crux.config;

import com.crux.config.custom.HostAddKeyResolver;
import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ResolverCustomConfig {
    @Bean
    public KeyResolver hostAddKeyResolver(){
        return new HostAddKeyResolver();
    }
}
